package com.ruoyi.xds.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商铺管理对象 xds_shop
 *
 * @author ruoyi
 * @date 2025-08-28
 */
@Setter
@Getter
public class XdsShop extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 商铺标题
     */
    @Excel(name = "商铺标题")
    private String title;

    /**
     * 商铺类型（转让-出租）
     */
    @Excel(name = "商铺类型", readConverterExp = "转=让-出租")
    private Long classType;
    private String className;

    /**
     * 所属栏目
     */
    @Excel(name = "所属栏目")
    private Long columnType;
    private String columnName;

    /**
     * 是否审核
     */
    @Excel(name = "是否审核")
    private Long review;

    /**
     * 浏览量
     */
    @Excel(name = "浏览量")
    private Long pageViews;

    /**
     * 所属区域
     */
    @Excel(name = "所属区域")
    private Long region;
    private String regionName;

    /**
     * 店铺属性
     */
    @Excel(name = "店铺属性")
    private String attribute;

    /**
     * 缩略图
     */
    @Excel(name = "缩略图")
    private String img;

    /**
     * 图片相册
     */
    @Excel(name = "图片相册")
    private String imgurl;

    /**
     * 发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseDatetime;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private String longitude;

    /**
     * 维度
     */
    @Excel(name = "维度")
    private String dimension;

    /**
     * 地址
     */
    @Excel(name = "地址")
    private String address;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contacts;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    private String phone;

    /**
     * 装修程度
     */
    @Excel(name = "装修程度")
    private String decoration;

    /**
     * 租金
     */
    @Excel(name = "租金")
    private BigDecimal rent;

    /**
     * 面积(㎡)
     */
    @Excel(name = "面积(㎡)")
    private String area;

    /**
     * 空置
     */
    @Excel(name = "空置")
    private Integer vacant;

    /**
     * 附近地标
     */
    @Excel(name = "附近地标")
    private String landmarks;

    /**
     * 配套设施
     */
    @Excel(name = "配套设施")
    private String facilities;

    /**
     * 删除
     */
    @Excel(name = "删除")
    private Integer isdel;

}
